﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using ARR.Entities;

namespace ARR.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IHistoryService" in both code and config file together.
    [ServiceContract]
    public interface IHistoryService
    {
        [OperationContract]
        List<History> GetAll(bool lazyLoad = true);

        [OperationContract]
        List<History> GetByCountry(int countryId, bool lazyLoad = true);

        [OperationContract]
        void GenerateHistory(int rangeReviewId);

        [OperationContract]
        List<HistoryDetail> GetCurrentRangeReviewHistory(int rangeReviewId);
    }
}
